ul{
  text-align: center;
  color: #EBFFFF;
  background-color: #104760;
  list-style: none;
  margin: 0;
  padding: 5px 0;
}

.horizontal{
  display: flex;
  justify-content: center;
  align-items: center;
  /* width: 100%; */
  flex-wrap: wrap;
  gap: 0px 25px;
  margin: 15px 0px 50px 0px;
  padding: 5px;
}




li{
  padding: 0;
}


body{
  margin: 0 8px;
    background-color: #082735;
    color: #EBFFFF;
    font-family: "Orbitron", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
    
}

  h2 {
    text-align: center;
    font-family: "Sixtyfour", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "BLED" 0,
    "SCAN" 0;    
}  

/* h3 {

} */

a {
    color: inherit;       /* übernimmt die umgebende Textfarbe */
    text-decoration: none; /* entfernt Unterstreichung */
    font-size: 1rem;
}

a.aktiv {
    font-weight: bold;

}

a:hover {
    font-weight: bold;
    text-decoration: none;
  }

.horizontal a{
  display: inline-block;
  /* position: relative; */
}

.horizontal a::after{
  content: attr(data-label);
  font-weight: bold;
  visibility: hidden;
  height: 0;
  overflow: hidden;
  display: block;
}


.container {
    display: flex;         /* Elemente nebeneinander */
    align-items: flex-start;  /* Oben bündig */
    /* max-width: auto; */
    gap: 40px;             /* Abstand zwischen Bild und Text */
    /* padding-left: 50px;
    padding-right: 50px; */
    width: 70%;                /* passt sich an Bildschirmbreite an */
    margin:  auto;         /* zentriert die Box horizontal */
    text-align: justify;
    
  }

  .container img {
    width: 250px;          /* Bildbreite */
    height: auto;          /* Proportional skalieren */
    max-width: 100%;
    
  }

  .kurz {
    text-align: center;
    font-weight: bolder;
    letter-spacing: 3px;
    padding-left: 50px;
    padding-right: 50px;
    
   


  }
  .text {
    margin: 0;
    height: auto;
    text-align: justify;
    font-weight: bold;
    letter-spacing: 1px;
    display: flex;
    flex-direction: column;
  }

   #moreText {
      display: none;
      margin-top: 50px;
      animation: fadeIn 0.4s ease-in-out;
      font-weight: normal;
    }

    @keyframes fadeIn {
      from {opacity: 0;}
      to {opacity: 1;}
    }

    button {
      background: none;
      color: #EBFFFF;
      border-width: 0; 
      border-color: none;
      display: block;
      margin: 0;
      padding: 0;
      border-radius: 0;
      text-align: left;
      font: inherit;
      font-size: 1.1rem;
      font-style: italic;
      cursor: pointer;
      /* width: 100%;
      transition: background-color 0.2s ease; */


    }

    button:hover {
      color: #2d4982;
    }

@media (max-width: 600px) {

            .horizontal {
               gap: 8px;
              flex-wrap: wrap;
               }

             ul, li {
                flex-direction: column;  /* Navigation untereinander  */
                align-items: center;
            }
            li {
              padding: 0;
            }

              .horizontal li a {
              font-size: 0.9rem;     /* kleinere Schrift */
              padding: 0.4rem 0.6rem;
              display: inline-block;
            }

            header {
                font-size: 1rem;
            } 
            
            .container {
                flex-direction: column;
                padding-left: 5px;
                padding-right: 5px;
                gap: 15px;
            }

            .container img {
              margin: 0 auto;
              max-width: 70%;
            }

            .text {
              text-align: left;
              font-size: 0.95rem;
            }

            .kurz {
               padding-left: 20px;
               padding-right: 20px;
              font-size: 0.95rem;
              letter-spacing: 1.5px;
            }



          }


        
